package org.brisling.medical.domain;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.TableGenerator;

import org.brisling.base.domain.impl.BaseMonitorDomain;
import org.brisling.base.domain.inf.BaseDomainInf;
import org.brisling.common.ConstSysParam;

/**
 * 
 * <p>Title: BasePatientInfo</p>
 * <p>Description: 基本业务信息监控实体类</p>
 * <p>Company: tongking </p>
 * @author jackson wang
 * @since  1.0
 * @version 1.0
 * @date 2016年6月3日 上午11:02:27
 */

@Entity
@Table(name=ConstSysParam.MODULE_BASE_PATIENT_INFO)
public class BasePatientInfo extends BaseMonitorDomain implements BaseDomainInf{

	
	@Id
	@Column
	@GeneratedValue(strategy=GenerationType.TABLE,generator="basePatientInfoGenerator")
	@TableGenerator(name="basePatientInfoGenerator",
					table="sysman_generation_key",
					pkColumnValue=ConstSysParam.MODULE_BASE_PATIENT_INFO,
					pkColumnName="primary_key",
					valueColumnName="key_value",
					allocationSize=1)
	private Long id;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}
	
	/**
	 * 入院病人数量
	 */
	private Long inpatient_num;
	
	/**
	 * 出院病人数量
	 */
	private Long inpatient_out_num;
	
	/**
	 * 出院病人费用总数
	 */
	private Double inpatient_out_count_money;
	
	/**
	 * 药品费用
	 */
	private Double inpatient_out_drug_money;	
	
	
	/**
	 * 出院患者平均费用
	 */
	private Double inpatient_out_avg_money;	
	
	/**
	 * 总床日
	 */
	private Double inpatient_count_days;
	/**
	 * 平均住院天数
	 */
	private Double inpatent_avg_days;
	
	/**
	 * 门诊患者数量
	 */
	private Long outpatient_num;
	
	/**
	 * 门诊患者费用
	 */
	private Double outpatient_count_money;
	
	/**
	 * 门诊均次费用
	 */
	private Double outpatient_avg_money;
	
	

	public Long getInpatient_num() {
		return inpatient_num;
	}

	public void setInpatient_num(Long inpatient_num) {
		this.inpatient_num = inpatient_num;
	}

	public Long getInpatient_out_num() {
		return inpatient_out_num;
	}

	public void setInpatient_out_num(Long inpatient_out_num) {
		this.inpatient_out_num = inpatient_out_num;
	}

	

	public Double getInpatient_out_avg_money() {
		return inpatient_out_avg_money;
	}

	public void setInpatient_out_avg_money(Double inpatient_out_avg_money) {
		this.inpatient_out_avg_money = inpatient_out_avg_money;
	}

	public Double getInpatent_avg_days() {
		return inpatent_avg_days;
	}

	public void setInpatent_avg_days(Double inpatent_avg_days) {
		this.inpatent_avg_days = inpatent_avg_days;
	}

	public Double getInpatient_out_count_money() {
		return inpatient_out_count_money;
	}

	public void setInpatient_out_count_money(Double inpatient_out_count_money) {
		this.inpatient_out_count_money = inpatient_out_count_money;
	}

	public Long getOutpatient_num() {
		return outpatient_num;
	}

	public void setOutpatient_num(Long outpatient_num) {
		this.outpatient_num = outpatient_num;
	}

	public Double getOutpatient_count_money() {
		return outpatient_count_money;
	}

	public void setOutpatient_count_money(Double outpatient_count_money) {
		this.outpatient_count_money = outpatient_count_money;
	}

	public Double getOutpatient_avg_money() {
		return outpatient_avg_money;
	}

	public void setOutpatient_avg_money(Double outpatient_avg_money) {
		this.outpatient_avg_money = outpatient_avg_money;
	}

	public Double getInpatient_out_drug_money() {
		return inpatient_out_drug_money;
	}

	public void setInpatient_out_drug_money(Double inpatient_out_drug_money) {
		this.inpatient_out_drug_money = inpatient_out_drug_money;
	}

	public Double getInpatient_count_days() {
		return inpatient_count_days;
	}

	public void setInpatient_count_days(Double inpatient_count_days) {
		this.inpatient_count_days = inpatient_count_days;
	}
	
	
}
